package com.ruyuan.user.server.repository.mapper;

import com.ruyuan.user.server.repository.bean.AuthResourceDO;
import com.ruyuan.user.server.repository.bean.AuthResourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AuthResourceMapper {
    long countByExample(AuthResourceExample example);

    int deleteByExample(AuthResourceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AuthResourceDO record);

    int insertSelective(AuthResourceDO record);

    List<AuthResourceDO> selectByExampleWithBLOBs(AuthResourceExample example);

    List<AuthResourceDO> selectByExample(AuthResourceExample example);

    AuthResourceDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AuthResourceDO record, @Param("example") AuthResourceExample example);

    int updateByExampleWithBLOBs(@Param("record") AuthResourceDO record, @Param("example") AuthResourceExample example);

    int updateByExample(@Param("record") AuthResourceDO record, @Param("example") AuthResourceExample example);

    int updateByPrimaryKeySelective(AuthResourceDO record);

    int updateByPrimaryKeyWithBLOBs(AuthResourceDO record);

    int updateByPrimaryKey(AuthResourceDO record);
}